﻿
namespace MultiFileEDMXTools
{
    using Microsoft.Data.Entity.Design.Extensibility;
    using System.ComponentModel.Composition;

    [Export(typeof(IModelConversionExtension))]
    [PartCreationPolicy(CreationPolicy.Shared)]
    [ModelFileExtension(".foo")]
    public class ModelConversionExtension : IModelConversionExtension, IPartImportsSatisfiedNotification
    {
        static ModelConversionExtension()
        {

        }

        public ModelConversionExtension()
        {

        }

        public void OnAfterFileLoaded(ModelConversionExtensionContext context)
        {
            var ctx = context;
            var file = ctx.FileInfo;

            // throw new NotImplementedException();
        }

        public void OnBeforeFileSaved(ModelConversionExtensionContext context)
        {
            // throw new NotImplementedException();
        }

        public void OnImportsSatisfied()
        {
            // throw new System.NotImplementedException();
        }
    }
}
